<%@ page import="entity.SysUser" %><%--
  Created by IntelliJ IDEA.
  User: boy
  Date: 2023/10/25
  Time: 9:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://www.springframework.org/tags/form" %>
<html>
  <head>
    <title>Title</title>
  </head>
  <body>
  <h1>查询用户列表</h1>
  <form action="${pageContext.requst.contextPath}/user/list" method="post">
    用户名称：<input type="text" name="realName" value=""/>
    <input type="submit" name="查询"/>
  </form>
   <%
   for(SysUser sysUser:list){
     id:<%=sysUser.getId()%>
     用户编码：<%=sysUser.getAddress()%>
     用户名称：<%=sysUser.getRealName()%>
  用户密码：<%=sysUser.getPassword()%>
   用户地址：<%=sysUser.getAddress()%>
   %>
  <%
      }
  %>
  </body>
</html>
